package com.abaaba.project2.service;

import com.abaaba.project2.bean.bo.*;
import com.abaaba.project2.bean.vo.*;

import java.text.ParseException;

public interface CouponService {
    CouponListVo queryCoupon(CouponReqBo baseReqBo);

    AddCouponVo createCoupon(AddCouponReqBo addCouponReqBo) throws ParseException;

    UpdateCouponVo updateCoupon(UpdateCouponBo updateCouponBo) throws ParseException;

    void deleteCoupon(UpdateCouponBo updateCouponBo);

    CouponDetailVo queryCouponById(Integer id);

    CouponAndUserVo queryCouponAndUser(CouponAndUserReqBo couponAndUserReqBo);
}
